package com.ruoyi.system.service.processService;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.process.ProcessInventory;
import com.ruoyi.system.domain.process.ProcessRibbon;

import java.util.List;

/**
 * 并卷Service接口
 * 
 * @author ljx
 * @date 2020-07-07
 */
public interface IProcessRibbonService 
{
    /**
     * 查询并卷
     * 
     * @param id 并卷ID
     * @return 并卷
     */
    public ProcessRibbon selectProcessRibbonById(Long id);

    /**
     * 查询并卷列表
     * 
     * @param processRibbon 并卷
     * @return 并卷集合
     */
    public List<ProcessRibbon> selectProcessRibbonList(ProcessRibbon processRibbon);
    List<ProcessRibbon> selectRibbonAndInventory(ProcessRibbon processRibbon);
    List<ProcessRibbon> selectRibbonAndInventory2(ProcessRibbon processRibbon);
    List<ProcessRibbon> selectByAluminizedId(Long id);

    List<ProcessRibbon> getInventories(List<ProcessRibbon> ribbons);

    /**
     * 新增并卷
     * 
     * @param processRibbon 并卷
     * @return 结果
     */
    public int insertProcessRibbon(ProcessRibbon processRibbon);

    /**
     * 修改并卷
     * 
     * @param processRibbon 并卷
     * @return 结果
     */
    public int updateProcessRibbon(ProcessRibbon processRibbon);

    /**
     * 批量删除并卷
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public AjaxResult deleteProcessRibbonByIds(String ids);

    /**
     * 删除并卷信息
     * 
     * @param id 并卷ID
     * @return 结果
     */
    public int deleteProcessRibbonById(Long id);

    List<ProcessInventory> getProcessInventory(Long id);
}
